package cn.yinyu.queue.module.ecg.controller.admin.devmanage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 设备型号新增/修改 Option VO")
@Data
public class OptionVO {

    @Schema(description = "显示名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "显示名不能为空")
    private String label;

    @Schema(description = "选型值", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "选型值不能为空")
    private String value;
}